package com.demo.boss.server;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.demo.boss.entity.PayProduct;
import com.demo.boss.models.PageRequest;
import com.demo.boss.models.request.ProductRequest;
import com.demo.boss.models.vo.DicItemVo;

import java.util.List;

public interface ProductService {
    /**
     *分页查询产品信息
     */
    public IPage<PayProduct> pageList(PageRequest pageRequest);

    boolean productAdd(ProductRequest productRequest);

    List<DicItemVo> queryProductDic(PageRequest pageRequest);

    List<PayProduct> matchProductName(String productName);
}
